package com.dwx.gmall.product.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dwx.gmall.model.product.SpuSaleAttr;
import com.dwx.gmall.product.mapper.SpuSaleAttrMapper;
import com.dwx.gmall.product.mapper.SpuSaleAttrValueMapper;
import com.dwx.gmall.product.service.SpuSaleAttrService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SpuSaleAttrServiceImpl extends ServiceImpl<SpuSaleAttrMapper, SpuSaleAttr> implements SpuSaleAttrService {

    @Autowired
    SpuSaleAttrValueMapper spuSaleAttrValueMapper;
    @Override
    public List<SpuSaleAttr> spuSaleAttrList(Long spuId) {

        return baseMapper.getSpuSaleAttrList(spuId);
    }
}
